Line attribute

You can draw not only solid lines but also dotted lines and dash lines. epic.sty and eepic.sty define several commands for them. If you want to use

\dashline[65]{3}(x1,y1)(x2,y2)
to draw lines, use \drawwith command before (or in) the bundle environment.
\drawwith{\dashline[65]{3}}

[65]3 Then you get
\begin{bundle}{xxx}
\chunk{aaa}
\chunk{
\begin{bundle}{yyy}
\chunk{bbb}
\chunk{ddd}
\end{bundle}}
\chunk{ccc}
\end{bundle}
.

The argument of \drawwith is evaluated at \end{bundle}. Hence, if you write

\begin{bundle}{xxx}
\chunk{aaa}
\chunk{
        \begin{bundle}{yyy}
        \drawwith{\drawline}
        \chunk{bbb}
        \drawwith{\dashline[65]{3}}
        \chunk{ddd}
        \end{bundle}}
\drawwith{\dottedline{3}}
\chunk{ccc}
\end{bundle}
you get
\begin{bundle}{xxx}
\chunk{aaa}
\chunk{
\begin{bundle}{yyy}
\drawwith{\drawlin...
...}
\chunk{ddd}
\end{bundle}}
\drawwith{\dottedline{3}}
\chunk{ccc}
\end{bundle}
.

You can nest the \drawwith. If you write

\drawwith{\drawwith{\drawwith{\dottedline{3}}\drawline}\dashline{3}}
\begin{bundle}{xxx}
\chunk{aaa}
\chunk{
        \begin{bundle}{yyy}
        \chunk{bbb}
        \chunk{ddd}
        \chunk{eee}
        \end{bundle}}
\chunk{ccc}
\chunk{fff}
\end{bundle}
you get 33
\begin{bundle}{xxx}
\chunk{aaa}
\chunk{
\begin{bundle}{yyy}
\chunk{bbb}
\chunk{ddd}
\chunk{eee}
\end{bundle}}
\chunk{ccc}
\chunk{fff}
\end{bundle}
. Thus the nested \drawwith is used in the reverse order.